const Router = require('koa-router')
const { note,addNote } = require('../controller/note.controller')
const router = new Router({prefix:'/note'})

router.post('/list',note)
router.post('/add',addNote)
module.exports = router